﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Sc.Domain
{
    [Serializable]
    public partial class Car_Illegal
    {
        public Car_Illegal()
        { }
        #region Model
        private int _id;
        private int _carid;
        private int _driverid;
        private DateTime _igtime;
        private string _igaddress;
        private string _igremark;
        private string _igopinion;
        private decimal? _igmoney;
        private DateTime? _paytime;
        private bool _ispay;
        private string _remark;
        private bool _hasattachments = false;
        private int _state = 0;
        private int _instancestate;
        private string _approalusers;
        private int _nodecount;
        private int _userId;
       
        /// <summary>
        /// 违章编号
        /// </summary>
        public int Id
        {
            set { _id = value; }
            get { return _id; }
        }
        /// <summary>
        /// 车牌
        /// </summary>
        public int CarId
        {
            set { _carid = value; }
            get { return _carid; }
        }
        /// <summary>
        /// 驾驶员
        /// </summary>
        public int DriverId
        {
            set { _driverid = value; }
            get { return _driverid; }
        }
        /// <summary>
        /// 违章时间
        /// </summary>
        public DateTime IgTime
        {
            set { _igtime = value; }
            get { return _igtime; }
        }
        /// <summary>
        /// 违章地点
        /// </summary>
        public string IgAddress
        {
            set { _igaddress = value; }
            get { return _igaddress; }
        }
        /// <summary>
        /// 违章情况
        /// </summary>
        public string IgRemark
        {
            set { _igremark = value; }
            get { return _igremark; }
        }
        /// <summary>
        /// 处罚意见
        /// </summary>
        public string IgOpinion
        {
            set { _igopinion = value; }
            get { return _igopinion; }
        }
        /// <summary>
        /// 罚款金额
        /// </summary>
        public decimal? IgMoney
        {
            set { _igmoney = value; }
            get { return _igmoney; }
        }
        /// <summary>
        /// 处理时间
        /// </summary>
        public DateTime? PayTime
        {
            set { _paytime = value; }
            get { return _paytime; }
        }
        /// <summary>
        /// 是否处理
        /// </summary>
        public bool IsPay
        {
            set { _ispay = value; }
            get { return _ispay; }
        }
        /// <summary>
        /// 备注
        /// </summary>
        public string Remark
        {
            set { _remark = value; }
            get { return _remark; }
        }
        /// <summary>
        /// 附件
        /// </summary>
        public bool HasAttachments
        {
            set { _hasattachments = value; }
            get { return _hasattachments; }
        }
        /// <summary>
        /// 状态
        /// </summary>
        public int State
        {
            set { _state = value; }
            get { return _state; }
        }
        /// <summary>
        /// 流程状态
        /// </summary>
        public int InstanceState
        {
            set { _instancestate = value; }
            get { return _instancestate; }
        }
        /// <summary>
        /// 审核人
        /// </summary>
        public string ApproalUsers
        {
            set { _approalusers = value; }
            get { return _approalusers; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int NodeCount
        {
            set { _nodecount = value; }
            get { return _nodecount; }
        }
        /// <summary>
        /// 申请人
        /// </summary>
        public int UserId
        {
            get { return _userId; }
            set { _userId = value; }
        }
        #endregion Model
    }
}
